package com.tedu.user.service.impl;


import com.tedu.user.mapper.UserMapper;
import com.tedu.user.pojo.dto.UserParam;
import com.tedu.user.pojo.dto.UserQuery;
import com.tedu.user.pojo.vo.UserVO;
import com.tedu.user.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
@Slf4j
public class UserServiceImpl implements UserService {
@Autowired
    UserMapper userMapper;

    @Override
    public List<UserVO> selectUser(UserQuery userQuery) {
        List<UserVO> userVOList = userMapper.selectUser(userQuery);
        return userVOList;
    }

    @Override
    public void saveUser(UserParam userParam) {

    }

    @Override
    public void deleteUser(Integer userId) {

    }
}


